
public class TestValue{
	public void someMethod(Object value){
		if(value == null){
			throw new IllegalArgumentException("value is null");
		}
		System.out.println(value.getClass());
	}
}